package top.xunfong.knowledge.dto;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * 初始化分片上传的请求参数
 */
@Data
public class InitiateMultipartUploadDTO {
    @NotNull(message = "文件名称不能为空")
    private String fileName;
    @NotNull(message = "md5值不能为空")
    private String fileMd5;
    @NotNull(message = "知识库Id不能为空")
    private Long knowledgeId;
}